/*
 * Copyright (c) 2015 /3 /29
 * 	      6 :22 : 11
 *               By: wupeiji
 *               Q  Q:757671834
 * 	      It is not easy to meet each other in such a big world
 */

package spring.security.maven.daomain;

public class Tb_goods extends Tb_goodsKey {
    private Integer gCount;

    private String gName;

    private Byte gIsPromotion;


    private String gPromotionName;

    private Float gRealPrice;

    public Integer getgCount() {
        return gCount;
    }

    public void setgCount(Integer gCount) {
        this.gCount = gCount;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName == null ? null : gName.trim();
    }

    public Byte getgIsPromotion() {
        return gIsPromotion;
    }

    public void setgIsPromotion(Byte gIsPromotion) {
        this.gIsPromotion = gIsPromotion;
    }

    public String getgPromotionName() {
        return gPromotionName;
    }

    public void setgPromotionName(String gPromotionName) {
        this.gPromotionName = gPromotionName == null ? null : gPromotionName.trim();
    }

    public Float getgRealPrice() {
        return gRealPrice;
    }

    public void setgRealPrice(Float gRealPrice) {
        this.gRealPrice = gRealPrice;
    }

    @Override
    public String toString() {
        return "Tb_goods{" +
                "gCount=" + gCount +
                ", gName='" + gName + '\'' +
                ", gIsPromotion=" + gIsPromotion +
                ", gPromotionName='" + gPromotionName + '\'' +
                ", gRealPrice=" + gRealPrice +
                '}';
    }
}